package com.dataart.training.crimequalification.domain;

public class LegalNorm {

    //-----------------------------------------------

    private String articleNo;
    private String articlePart;

    //-----------------------------------------------

    @Override
    public String toString() {
        return new StringBuilder().append("[ Cтатья ").
                append(articleNo).
                append(", часть ").
                append(articlePart).
                append(". ]").
                toString();
    }

    //-----------------------------------------------

    public String getArticlePart() {
        return articlePart;
    }

    public void setArticlePart(String articlePart) {
        this.articlePart = articlePart;
    }

    public String getArticleNo() {
        return articleNo;
    }

    public void setArticleNo(String articleNo) {
        this.articleNo = articleNo;
    }
}
